<?php defined('IN_HOPECMS') or exit('Access Denied'); ?>
<div class="content-title">站点管理</div>
<div class="clear margin-top-10"></div>
<?php 
	echo dpWidget::execute(
		'widget:listview.listViewWidget',
		'listViewWidget',
		array(
			'id'    => 'listview',
			'model' => 'siteModel',
			'table_width'   => '98.5%;',
			'page_base_url' => 'admin/setting/site',
			'per_page'		=> 20,
			'numone_no_del' => true,
			'show_data'     => array(
				'site_id'           => array('name'=>'站点ID',     'width'=>80 ),
				'site_name'			=> array('name'=>'站点名称',   'width'=>120),
				'site_domain'		=> array('name'=>'站点域名',   'width'=>180),
				'site_title'		=> array('name'=>'网站标题',   'width'=>150),
				'site_theme'		=> array('name'=>'网站主题',   'width'=>100),
			),
			'buttons'		=> array(
				array('name' => '删除', 'url' => D::createUrl('admin/setting/sitedelete')),
			),
			'links'	  => array(
				array('text'=>'修改', 'url'=>D::createUrl('admin/setting/siteedit'), 'params_pk'=>true),
				array('text'=>'删除', 'url'=>D::createUrl('admin/setting/sitedelete'), 'params_pk'=>true, 'alert'=>true),
			),
		)
	);
?>